﻿/*----------------------------------------------------------------
// Copyright (C) 2016 通通优品版权所有。
// 命名空间: TongTongMall.MallWeb.Core.Pay.Services
// 类名：PayDomainService
// 功能描述：N/A
// 
// 创建标识：Roc.Lee(李鹏鹏) 2017/6/13 17:00:19 TEC-ROCLEE Roc.Lee

// 修改标识：
// 修改描述：
// 
//
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TEC.Public.Component.Pay;
using TEC.Public.Component.Pay.AliPay;
using TEC.Public.Component.Pay.Unionpay;
using TEC.Public.Component.Pay.WeiXin;
using TongTongMall.MallWeb.Core.Instance.Config;
using TEC.Public.Infrastructure.Config;
using TongTongMall.MallWeb.Core.Tenant.Services;

namespace TongTongMall.MallWeb.Core.Pay.Services
{
    public class PayDomainService : IPayDomainService
    {
        private readonly IConfigDomainService _IConfigDomainService;
        public PayDomainService(IConfigDomainService _IConfigDomainService)
        {
            this._IConfigDomainService = _IConfigDomainService;
        }
        public async Task<IPayConfig> GetConfig<T>(long _TenantId) where T : IPayConfig, ITongTongMallConfigInfo
        {
            return await _IConfigDomainService.GetConfig<T>(_TenantId);
        }



    }
}
